<template>
  <div class="reservation">
    <el-tabs v-model="activeTab">
      <el-tab-pane label="空闲育婴师" name="freeNannies">
        <FreeNannies />
      </el-tab-pane>
      <el-tab-pane label="我的预约单" name="myReservations">
        <MyReservations />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import FreeNannies from './FreeNannies.vue';
import MyReservations from './MyReservations.vue';

export default {
  components: {
    FreeNannies,
    MyReservations
  },
  data() {
    return {
      activeTab: 'freeNannies'
    };
  }
};
</script>

<style scoped>
.reservation {
  padding: 20px;
}
</style>
